package com.ddstation.verifycode.service;

import com.ddstation.verifycode.entity.VerifycodeEntity;

public interface VerifycodeService {
	/**
	 * 获取验证码
	 * @param phone
	 * @param integererval 过期秒
	 * @return
	 */
	public VerifycodeEntity create(String phone, int integererval);
	public boolean validate(VerifycodeEntity v) ;
}
